/**
 * Copyright 2018-2020 stylefeng & fengshuonan (https://gitee.com/stylefeng)
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package cn.stylefeng.guns.rabbitmq.config;

/**
 * 是否是菜单的枚举
 *
 * @author jwj
 * @date 2019年6月1日22:50:11
 */
public enum RenStatusMsg {

    code_000000("000000","提交成功"),
    code_100001("100001","系统维护"),
    code_100002("100002","必要参数为空"),
    code_100003("100003","卡号、卡密超过失败次数限制"),
    code_100004("100004","商户不存在"),
    code_100005("100005","商户被关闭"),
    code_100055("100055","时间戳不合法（要10分钟之内）"),
    code_100006("100006","未设置密钥"),
    code_100007("100007","产品不存在"),
    code_100008("100008","产品暂停销售"),
    code_100009("100009","商户没有开通该产品"),
    code_100010("100010","不支持的面值"),
    code_100011("100011","签名错误"),
    code_100012("100012","卡密已成功（已有成功记录）"),
    code_100013("100013","卡密正在处理中"),
    code_100014("100014","订单号已存在"),
    code_100015("100015","该产品的运营商费率不存在或未开通"),
    code_100016("100016","卡号、卡密不符合规则"),
    code_100017("100017","回调地址格式、订单号长度、扩展信息长度不合法(回调地址格式为URL格式，长度不能超过255个字符、订单号32个数字字符以内、扩展信息不能超过50个字符)"),
    code_100077("100077","卡种为空"),
    code_100018("100018","输入的折扣区间不合法"),
    code_100019("100019","不支持的电信地方卡"),
    code_100099("100099","商户编号不能为空"),
    code_100020("100020","销卡有效期不合法(时间要为今天起3天之内的日期，格式为yyyy-MM-dd)"),
    code_100021("100021","系统错误，可重新提交或联系客服"),
    code_100022("100022","该卡号已被锁定，请联系客服"),
    code_100023("100023","请求IP不在白名单"),
    code_100024("100024","系统繁忙"),
    code_100025("100025","无法判断充值卡发行地区"),
    code_100026("100026","充值卡预判面值与提交面值不符"),
    code_100027("100027","卡号密码错误"),
    code_100028("100028","卡号密码加解密失败"),
    code_100029("100029","该订单支付已失败，不能重复提交"),
    code_100030("100030","提交失败，可以重新提交"),
    code_100031("100031","金额小于0或金额格式不正确"),
    code_100032("100032","校验码验证失败"),
    code_100033("100033","订单相关错误"),
    code_100034("100034","收卡失败"),
    code_100035("100035","合作方账号类型或者状态错误"),
    code_100036("100036","合作方资金账户错误"),
    code_100037("100037","合作方余额不足等错误"),
    code_100038("100038","合作方支付错误"),
    code_100039("100039","合作方没有该业务权限"),
    code_100040("100040","商品状态相关错误"),
    code_100041("100041","充值卡无效"),
    code_100042("100042","处理失败，卡密没有消耗"),
    code_100043("100043","系统异常，需要核实"),
    code_100044("100044","该卡号属于被禁止提交的类型，详情请联系客服咨询"),
    code_100045("100045","卡号或密码不正确或已经使用完了"),
    code_100046("100046","卡中余额不足");



    String code;
    String message;

    RenStatusMsg(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
